﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dycox.Collections;

namespace Dycox.Reporting
{
    public class TableColumnCollection : OwnedCollection<TableColumn, Table>
    {
        public TableColumnCollection(Table owner)
            : base(owner)
        {
            
        }

        protected override void SetItemOwner(TableColumn item, Table parent)
        {
            item.SetTable(parent);
        }

        protected override Table GetItemOwner(TableColumn item)
        {
            return item.Table;
        }
    }
}
